#include using namespace std; #define _USE_MATH_DEFINES #include int main(void) { int x; cout << "Podaj x ="; cin >> x; cout << "Pierwiastek z " << x << " wynosi " << sqrt(1.0*x) << endl << endl; for (int i = 1; i < x; i++) cout << 2 * i << '\t'; cout << '\n'; for (int i = 1; i < x; i++) cout << 4 * i << '\t'; cout << '\n'; cout << '\n'; system("pause"); }